package com.example.forum.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ArticleDraft {
    private Long id;
    
    private Long userId;
    
    private Long boardId;
    
    private String title;
    
    private String content;
    
    private String tags;
    
    private String summary;
    
    private Date createTime;
    
    private Date updateTime;
    
    // 关联对象-作者
    private User user;
    
    // 关联对象-板块
    private Board board;
    
    @ApiModelProperty("是否为草稿所有者")
    private Boolean own;
} 